package com.lyf.scm.common.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * description:
 *          通用查询参数DTO
 * @author: haodong
 * @data: 2020/8/19 11:24
 */
@Data
public class BaseSearchDTO extends BaseDTO{

    @ApiModelProperty("渠道code")
    private String channelCode;

    @ApiModelProperty("渠道name")
    private String channelName;

    @ApiModelProperty("子渠道code")
    private String subChannelCode;

    @ApiModelProperty("子渠道name")
    private String subChannelName;

    @ApiModelProperty("大品类code")
    private String priCategoryCode;

    @ApiModelProperty("大品类name")
    private String priCategoryName;

    @ApiModelProperty("中品类code")
    private String secCategoryCode;

    @ApiModelProperty("中品类name")
    private String secCategoryName;

    @ApiModelProperty("小品类code")
    private String terCategoryCode;

    @ApiModelProperty("小品类name")
    private String terCategoryName;

    @ApiModelProperty("商品sku")
    private String skuCode;

    @ApiModelProperty("商品名称")
    private String skuName;

    @ApiModelProperty("省份code")
    private String provinceCode;

    @ApiModelProperty("省份name")
    private String provinceName;

    @ApiModelProperty("城市code")
    private String cityCode;

    @ApiModelProperty("城市name")
    private String cityName;

    @ApiModelProperty("区/县code")
    private String countyCode;

    @ApiModelProperty("区/县name")
    private String countyName;

    @ApiModelProperty("门店code")
    private String storeCode;

    @ApiModelProperty("门店name")
    private String storeName;

    @ApiModelProperty("分层编码")
    private String layeredCode;

    @ApiModelProperty("分层类型")
    private String randType;

    @ApiModelProperty("渠道code集合")
    private List<String> channelCodeList;
    private List<String> permissionChannelList;

    @ApiModelProperty("区域code集合")
    private List<SalesPlanSelectDTO> areaCodeList;
    private List<SalesPlanSelectDTO> permissionAreaList;

    @ApiModelProperty("商品code集合")
    private List<SalesPlanSelectDTO> categoryCodeList;

    @ApiModelProperty("省份code集合")
    private List<String> provinceCodeList;

    @ApiModelProperty("城市code集合")
    private List<String> cityCodeList;

    @ApiModelProperty("区/县code集合")
    private List<String> countyCodeList;

    @ApiModelProperty("门店code集合")
    private List<String> storeCodeList;

    @ApiModelProperty("大品类code集合")
    private List<String> priCategoryCodeList;

    @ApiModelProperty("中品类code集合")
    private List<String> secCategoryCodeList;

    @ApiModelProperty("小品类code集合")
    private List<String> terCategoryCodeList;

    @ApiModelProperty("商品code集合")
    private List<String> skuCodeList;

    @ApiModelProperty("商品分层code集合")
    private List<String> layeredCodeList;

    @ApiModelProperty("用户id集合")
    private List<String> userList;

    @ApiModelProperty("日期集合(周)")
    private List<Map<String, Date>> weekDateList;

    @ApiModelProperty("日期集合(天)")
    private List<Date> dateList;

    @ApiModelProperty(value = "excel前端数据行标集合")
    private List<Integer> rowIndex;

    @ApiModelProperty("id数组")
    private List<Long> idList;

    @ApiModelProperty("单位类型")
    private Long unitType;

    @ApiModelProperty("计划类型")
    private String type;

    @ApiModelProperty("计划类型集合")
    private List<String> typeList;

    private Integer total;

    private Integer level;


}
